<?php

/**
 * @author     Thibaut Cromphaut and Dimitry Dierickx
 * @copyright  Copyright (c) 2011 Safti-Kado
 */
class Application_Form_EditKeyword extends Zend_Form
{

    public function init()
    {
        $this->addElement('hidden', 'keyword_id', array(
            'label'      => '',
        ));

        $this->addElement('text', 'keyword_label', array(
            'label'      => 'Product:',
            'required'   => true,
            'filters'    => array('StringTrim'),

        ));
        
        /*$this->addElement('text', 'keyword_shelf_id', array(
            'label'      => 'Rek:',
            'required'   => true,
            'filters'    => array('StringTrim'),
        ));*/
        
        // Veld 'Role'
        $this->addElement(new Application_Form_Element_ShelfSelect('keyword_shelf_id'));

        $this->addElement('textarea', 'keyword_alternatives', array(
            'label'      => 'Varianten:',
            'required'   => true,
            'filters'    => array('StringTrim'),
        ));
                
        $this->addElement('submit', 'edit', array(
            'label'      => 'Opslaan',
        ));

        /*$this->addElement('hash', 'no_csrf_registration', array(
            'salt' => 'unique',
        ));*/
    }
}



